package com.answeringplayer.service;

import com.answeringplayer.Bean.Request;
import com.answeringplayer.Bean.Response;
import com.answeringplayer.dto.*;

import java.util.List;

public interface ExamService {
    Response<StartExamResponseDTO> startExam(Request<StartExamRequestDTO> request);
    /**
     * 提交答案并评分
     */
    Response<SubmitAnswerResponse> submitAnswer(
            Long userId,
            Integer bankId,
            String practiceType,
            List<AnswerDTO> answers
    );

    /**
     * 获取练习记录
     */
    Response<List<PracticeRecordDTO>> getPracticeRecords(Long userId);
}